const mongoose = require('./db');
const userSchema = new mongoose.Schema({
    username: { type: String, required: true, unique: true },
    password: { type: String, required: true }
})
const userModel = mongoose.model('user', userSchema,'user');
module.exports = {userModel};